package com.javaee.demov2.persistent.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.javaee.demov2.persistent.entity.User;
import com.javaee.demov2.web.dto.user.UserQueryDto;
import org.apache.ibatis.annotations.*;

import java.util.List;

/**
 * 用户数据操作接口, 继承mybatsi-plus的基本接口
 */
@Mapper
public interface UserMapper extends BaseMapper<User> {

    /**分页查询*/
    List<User> pageQuery(UserQueryDto userQueryDto);

}

